import { Component } from 'react';
export default WrapperCom => {
  return class extends Component {
    changeTab = tabKey => {
      console.log(tabKey);
    };
    render() {
      const methodMap = {
        changeTab: this.changeTab,
      };
      return <WrapperCom {...methodMap}></WrapperCom>;
    }
  };
};
